package com.mspbots.api.service;


import com.mspbots.cw.request.TenantDTO;
import com.mspbots.dto.page.IPage;

import java.util.List;
import java.util.Map;

/**
 * com.mspbots.api.service.TenantService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/28
 */
@Deprecated
public interface TenantService {

    List<TenantDTO> addBatch(List<TenantDTO> dtos);

    IPage<TenantDTO> selectPage(Map<String, Object> params);

    TenantDTO findById(long id);

    TenantDTO save(TenantDTO entity);

    TenantDTO update(TenantDTO entity);

    Boolean delete(Long id);

    TenantDTO findByName(String name);

    List<TenantDTO> list(Map<String, Object> tenantParams);

}
